package com.inews.bean;

import java.util.Map;

public class Task {
	 
	/** 任务Id. */
	private int taskId; 
	 
	/** 任务参数. */ 
	private Map<String, Object> taskParams;
	
	//任务标示
	/** 登录任务ID. */ 
	public static final int WEIBO_LOGIN = 1;
	/** 获取授权信息ID. */ 
	public static final int GET_ACCESS_TOKEN = 2;
	
	
	/**
	 * 构造函数.
	 *
	 * @param taskId the task id
	 * @param taskParams the task params
	 */
	public Task(int taskId, Map<String, Object> taskParams) {
		this.taskId = taskId;
		this.taskParams = taskParams;
	}


	public int getTaskId() {
		return taskId;
	}


	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}


	public Map<String, Object> getTaskParams() {
		return taskParams;
	}


	public void setTaskParams(Map<String, Object> taskParams) {
		this.taskParams = taskParams;
	}
	
}
